#include "ch32v20x.h"                  // Device header
#include "PWM.h"


void Servo_Init(void )
{
	PWM_Init ();
}

void Servo_SetAngle(float Angle)
{
	PWM_TIM1_SetCompare4 (Angle /180*2000+500);
}
